package com.yonglian.system.domain;

import java.util.List;

import com.yonglian.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.yonglian.common.annotation.Excel;
import org.springframework.web.multipart.MultipartFile;

/**
 * 活动对象 cms_activity
 *
 * @author gyok
 * @date 2024-05-28
 */
public class CmsActivity extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 系统id */
    private Long id;

    /** 活动名称 */
    @Excel(name = "活动名称")
    private String activityName;

    /** 活动封面 */
    @Excel(name = "活动封面")
    private String cover;

    private MultipartFile coverFile;

    /** 活动小结 */
    @Excel(name = "活动小结")
    private String activitySummary;

    /** 活动照片 */
    @Excel(name = "活动照片")
    private String activityPictures;

    private List<MultipartFile> activityPictureFiles;

    /** 新闻稿 */
    @Excel(name = "新闻稿")
    private String newsRelease;

    /** 项目id */
    @Excel(name = "项目id")
    private Long projectId;

    /** 活动标准信息 */
    private List<CmsActivityStandard> cmsActivityStandardList;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setActivityName(String activityName)
    {
        this.activityName = activityName;
    }

    public String getActivityName()
    {
        return activityName;
    }
    public void setCover(String cover)
    {
        this.cover = cover;
    }

    public String getCover()
    {
        return cover;
    }

    public MultipartFile getCoverFile() {
        return coverFile;
    }

    public void setCoverFile(MultipartFile coverFile) {
        this.coverFile = coverFile;
    }

    public List<MultipartFile> getActivityPictureFiles() {
        return activityPictureFiles;
    }

    public void setActivityPictureFiles(List<MultipartFile> activityPictureFiles) {
        this.activityPictureFiles = activityPictureFiles;
    }

    public void setActivitySummary(String activitySummary)
    {
        this.activitySummary = activitySummary;
    }

    public String getActivitySummary()
    {
        return activitySummary;
    }
    public void setActivityPictures(String activityPictures)
    {
        this.activityPictures = activityPictures;
    }

    public String getActivityPictures()
    {
        return activityPictures;
    }
    public void setNewsRelease(String newsRelease)
    {
        this.newsRelease = newsRelease;
    }

    public String getNewsRelease()
    {
        return newsRelease;
    }
    public void setProjectId(Long projectId)
    {
        this.projectId = projectId;
    }

    public Long getProjectId()
    {
        return projectId;
    }

    public List<CmsActivityStandard> getCmsActivityStandardList()
    {
        return cmsActivityStandardList;
    }

    public void setCmsActivityStandardList(List<CmsActivityStandard> cmsActivityStandardList)
    {
        this.cmsActivityStandardList = cmsActivityStandardList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("activityName", getActivityName())
            .append("cover", getCover())
            .append("activitySummary", getActivitySummary())
            .append("activityPictures", getActivityPictures())
            .append("newsRelease", getNewsRelease())
            .append("projectId", getProjectId())
            .append("createTime", getCreateTime())
            .append("createBy", getCreateBy())
            .append("cmsActivityStandardList", getCmsActivityStandardList())
            .toString();
    }
}
